import styled from "styled-components";
export const WarpDiv = styled.div`
  position: relative;
  .menu-line {
    padding: 5px 2px;
    border: 1px solid;
    font-size: 12px;
    cursor: pointer;
  }

  .dropdown {
    width: 100%;
  }

  /* 覆盖tree的默认css */
  .ant-tree-list {
    height: 100vh;
    background-color: #252526;
    color: white;
  }

  .ant-tree.ant-tree-directory {
    .ant-tree-treenode:hover::before {
      background-color: #37373d;
    }
    .ant-tree-treenode-selected {
      &::before {
        background-color: #37373d;
      }
      &:hover {
        &::before {
          background-color: #37373d;
        }
      }
    }
  }
`;
